package com.ybb.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName("ybb_order")
@Data
public class OrderEnity {
    @TableId(type = IdType.AUTO) //TODO: 最好根椐规则生成，无序性、递增
    private Integer id;
    private String sku;
    private Double price;
    // '订单状态:0未支付，1已支付'
    private Integer status;
    private Integer num;
    private String merchant;
    private String user;
    private Date createTime;
}
